Reasoning about Translation Lookaside Buffers

نویسندگان

  • Hira Syeda
  • Gerwin Klein
چکیده

The main security mechanism for enforcing memory isolation in operating systems is provided by page tables. The hardware-implemented Translation Lookaside Buffer (TLB) caches these, and therefore the TLB and its consistency with memory are security critical for OS kernels, including formally verified kernels such as seL4. If performance is paramount, this consistency can be subtle to achieve; yet, all major formally verified kernels currently leave the TLB as an assumption. In this paper, we present a formal model of the Memory Management Unit (MMU) for the ARM architecture which includes the TLB, its maintenance operations, and its derived properties. We integrate this specification into the Cambridge ARM model. We derive sufficient conditions for TLB consistency, and we abstract away the functional details of the MMU for simpler reasoning about executions in the presence of cached address translation, including complete and partial walks.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Compiler Perspective on Architectural Evolutions

Certain architectural features either constrain or inhibit compiler optimizations. We suggest three hardware changes aimed to improve the situation, from a compiler’s perspective. These changes involve redesigns of translation lookaside buffers, communication in memory hierarchies, and page mapping hardware for caches. Keywords— cache, compiler, optimization, PlayDoh, prefetch, tiling, TLB

متن کامل

Predicting and Prefetching Tlb Entries from Irregular Access Streams

This thesis describes the design and evaluation the Irregular Translation Buffer (ITB), which is a prefetcher for translation lookaside buffer (TLB) entries that is based on the Irregular Stream Buffer (ISB) introduced by Jain and Lin [1]. The main idea to use the ISB's improvements in prefetching cache lines from irregular access streams and use them to prefetch entries from irregular access s...

متن کامل

A Selectively Accessing TLB for High Performance and Lower Power Consumption

This paper presents a structure of TLB (translation lookaside buffer) for low power consumption but high performance. The propsed TLB is constructed as a combination of one block buffer and two-way banked TLBs. The processor can access the block buffer or one of two banked TLBs selectively. This feature is quite different from that used in the traditional block buffering technique. Simulation r...

متن کامل

Efficient Shared Memory Multiprocessing and Object-Oriented Programming

Object-oriented techniques are shown to hold promise for addressing the growing speed gap between memory and processors on shared-memory multiprocessors. However, reducing cache misses can be at the expense of more misses from the translation lookaside buffer (TLB—a cache of recent page translations). This paper presents simulation results from use of a library called OOSH (Object-Oriented Libr...

متن کامل

Message from the Organizers

The performance of Translation Lookaside Buffers is a very important factor in overall program performance, with TLB misses often representing 10% or more of program runtime. Despite this, their design issues remained largely unexamined as the transition from single-core to multi-core processors occurred. This talk will describe my group's recent body of work to characterize and optimize TLB be...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017